<%--
  Created by IntelliJ IDEA.
  User: 86151
  Date: 2024/10/10
  Time: 上午10:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录成功</title>
</head>
<body>
    <%
        Object loginCheck =  request.getSession().getAttribute("loginSuccess");
        System.out.println(loginCheck);
        if(loginCheck==null){
            out.println("未找到登录凭证");
            response.sendRedirect("login.jsp");
        }
    %>
    <h1>恭喜你！登录成功</h1>
</body>
</html>
